import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import pinia from './stores'
import router from './router'

// import './assets/main.css'

// 样式全局使用
import 'vant/lib/index.css'

// 自己的样式在vant样式下面
import './styles/main.scss'

import persist from 'pinia-plugin-persistedstate'
const app = createApp(App)

app.use(createPinia().use(persist))
app.use(router)

app.mount('#app')
app.use(pinia)
